import sys

from PySide6.QtGui import QIcon
from PySide6.QtWidgets import QApplication

from main_window import AudioProcessorMainWindow


def main():
    app = QApplication(sys.argv)

    # 设置应用程序信息
    app.setApplicationName("音频软件定义处理器")
    app.setApplicationVersion("1.0")
    app.setOrganizationName("AudioLab")
    app.setWindowIcon(QIcon("main.ico"))

    window = AudioProcessorMainWindow()
    window.show()

    sys.exit(app.exec())


if __name__ == '__main__':
    main()